#import web
#import paste
#app = web.application(urls, globals())
#app = paste.TestApp(app.wsgifunc(*middleware))
#import os
#
#def is_test():
#    if 'WEBPY_ENV' in os.environ:
#        return os.environ['WEBPY_ENV'] == 'test'
#
#if (not is_test()) and __name__ == "__main__":
#    app.run()
#
##WEBPY_ENV=test nosetests
